package com.xuecheng.content.service;

import com.xuecheng.commons.model.dto.BindTeachplanMediaDto;
import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.content.domain.TeachplanMedia;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuangYuwu
 * @since 2022-09-11
 */
public interface TeachplanMediaService extends IService<TeachplanMedia> {

    /**
     * 课程计划绑定媒资
     * @param bindTeachplanMediaDto
     * @return
     */
    ResponseResult bindTeachplanMedia(BindTeachplanMediaDto bindTeachplanMediaDto);

    /**
     * 删除课程计划的媒资数据
     * @param teachPlanMediaId
     * @return
     */
    ResponseResult deleteTeachMedia(Long teachPlanMediaId);
}
